#include "Person.h"

void Person::Print()
{
    std::cout << _age << "-" << _name << "-" << _sex << std::endl;
}

void Person::Init(const char* name, int age, const char* sex)
{
    _name = name;
    _age = age;
    _sex = sex;
}

void Person::setName(const char* name)
{
    _name = name;
}
